package com.pinyougou.goods.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.dubbo.config.annotation.Service;
import com.pinyougou.goods.service.BrandService;
import com.pinyougou.mapper.TbBrandMapper;
import com.pinyougou.pojo.TbBrand;

@Service
public class BrandServiceImpl implements BrandService{

	@Autowired
	private TbBrandMapper brandMapper;
	
	/**
	 * @Title 查询全部品牌
	 * @return
	 */
	@Override
	public List<TbBrand> findAll() {
		List<TbBrand> brandList = brandMapper.selectByExample(null);
		return brandList;
	}
}
